use crate::models::Product;

pub fn process_payment(product: &Product) {
    println!("正在处理支付: {}", product.name);
    println!("支付金额: {:.2}", product.price);
}